'use strict';
var createItem = require('./createItem.js');
var editItem = require('./editItem.js');
var app = getApp();

function saveHeader(temporalItem) {
    app.globalData.user_form[0].form_name = temporalItem.name;
    app.globalData.user_form[0].form_des = temporalItem.notice;
    //返回上一个页面
    wx.navigateBack({
        url: '../form'
    });
}
module.exports = saveHeader;